package com.baymax.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * 菜单VO
 *
 * @Author: baymax
 * @CreateTime: 2023/3/28 21:04
 * @Version: 1.0
 */
@Data
public class SysMenuVO implements Serializable {

    /**
     * 菜单id
     */
    @TableId(value = "menu_id", type = IdType.ASSIGN_ID)
    private Long menuId;

    /**
     * 菜单名称
     */
    @TableField(value = "menu_name")
    private String menuName;

    /**
     * 父菜单id
     */
    @TableField(value = "pid")
    private Long pid;

    /**
     * 菜单权限
     */
    @TableField(value = "permission")
    private String permission;

}
